package com.heima.model.comment.dto;

import com.heima.model.common.annotation.IdEncrypt;
import lombok.Data;

import java.util.Date;

/**
 * @projectName: leadnews-team
 * @package: com.heima.model.comment.dtos
 * @className: CommentSaveDto
 * @author: Eric
 * @description: TODO
 * @date: 2023/9/19 21:02
 * @version: 1.0
 */
@Data
public class CommentDto {
    /**
     * 评论id
     */
    private String commentId;
    /**
     * 回复id
     */
    private String commentRepayId;

    /**
     * 大小
     */
    private Integer size;

    /**
     * 最小日期
     */
    private Date minDate;
    /**
     * 回复内容
     */
    private String content;
    /**
     * 0：点赞
     * 1：取消点赞
     */
    private Short operation;
    /**
     * 文章id
     */
    @IdEncrypt
    private Long articleId;

}
